package com.fortune.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.fortune.dao.MSystemParamServiceDao;
import com.fortune.dto.in.MSystemParam.MSystemParamEditDto;
import com.fortune.entity.MUserInfo;
import com.fortune.service.MSystemParamService;
import com.fortune.vo.mSystemParam.MSystemParam;
@Service
public class MSystemParamServiceImpl implements MSystemParamService {
	@Autowired
	private MSystemParamServiceDao ms;
	
	@Override
	public List<MSystemParam> list(MUserInfo mUserInfo) {
		List<MSystemParam> list = ms.list(mUserInfo);
		return list;
	}

	@Override
	public int edit(MUserInfo mUserInfo, MSystemParamEditDto editDto) {
		int edit = ms.edit(mUserInfo, editDto);
		return edit;
	}

}
